package com.j180.demo.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_class")
public class ClassBean implements Serializable {
    @TableId("id")
    private Integer id;
    @TableField("name")
    private String name;
    @TableField(exist = false)
    private List<StudentBean> studentBeanslist;
}
